/*
 * Created on Feb 17, 2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.ba360.struts.form;

import java.util.Vector;

/**
 * @author ROnat
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class MainAttraction {
private String name;
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}


Vector activities;
private String info;
public AttractionBean[] getAttraction()
{
	AttractionBean[] ab = new AttractionBean[activities.size()];
    if (activities.size() > 0) activities.copyInto(ab);

    return ab;
}
public void setAttraction(AttractionBean[] ab)
{
	activities = new Vector(ab.length);
	for (int i=0; i < ab.length; i++)
    {
        activities.addElement(ab[i]);
    }

}
public String getInfo() {
	return info;
}
public void setInfo(String info) {
	this.info = info;
}
}
